OTP\Handler\Forms\WooCommerceCheckOutForm C

Total Complexity 109
Dependencies 10
Dependents 0
Total lines 798
Lines of code 453
Logical lines of code 206
Comment lines 270
Methods 36
Properties 7

Methods 36

Method Rating Maintainability Complexity Lines of code
handle_form_options()
A
45 9 40
add_custom_button()
A
43 5 81
my_custom_checkout_field_process()
A
55 9 21
handle_form()
A
47 7 33
my_custom_checkout_field()
S
52 5 25
enqueue_script_on_page()
S
54 5 19
add_custom_popup()
S
60 5 13
mo_showButtonOnPage()
S
59 4 14
checkIfVerificationCodeNotEntered()
S
61 4 11
__construct()
S
57 3 16
webroom_check_if_product_category_in_cart()
S
58 3 14
checkPhoneValidity()
S
63 3 11
handle_woocommerce_checkout_form()
S
55 2 21
showTextLinkOnPage()
S
57 2 18
get_phone_number_selector()
S
70 3 6
processEmail()
S
65 3 8
show_validation_button_or_text()
S
69 3 8
routeData()
S
66 3 8
disable_auto_login_after_checkout()
S
64 3 9
billing_phone_process()
S
67 3 7
handle_otp_token_submitted()
S
64 3 10
isPaymentVerificationNeeded()
S
73 3 4
process_phone_number()
S
64 3 8
place_after_validating_field()
S
68 2 7
checkIfVerificationNotStarted()
S
68 2 7
isPhoneNumberAlreadyInUse()
S
65 2 8
handle_failed_verification()
S
80 1 3
handle_post_verification()
S
77 1 4
common_button_or_link_enable_disable_script()
S
78 1 4
unset_otp_session_variables()
S
80 1 3
isGuestCheckoutOnlyEnabled()
S
86 1 2
showButtonInstead()
S
86 1 2
isPopUpEnabled()
S
86 1 2
getPaymentMethods()
S
86 1 2
isSelectivePaymentEnabled()
S
86 1 2
isAutoLoginDisabled()
S
86 1 2